{if condition="$Think.const.PJAX"}
{block name="main"}{/block}
{block name='foot'}{/block}
<script>
    document.title = '{$webTitle}-{:config("web_webname")}';
</script>
{else}
<!DOCTYPE html>
<html lang="zh-CN">
 <head> 
  <meta charset="UTF-8" /> 
  <meta name="renderer" content="webkit" /> 
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> 
  <meta name="author" content="xinyan" /> 
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" /> 
  <title>{$webTitle}-{:config("web_webname")}</title>
  <link rel="shortcut icon" href="/favicon.ico">
  <link rel="stylesheet" type="text/css" href="/Static/pc/user/css/app.min.css" /> 
  <link rel="stylesheet" type="text/css" href="/Static/pc/user/css/style.min.css" /> 
  <link rel="stylesheet" type="text/css" href="/Static/pc/user/css/animate.css" /> 
  <link rel="stylesheet" type="text/css" href="/Static/pc/user/css/iconfont.css" /> 
  <link rel="stylesheet" type="text/css" href="/Static/pc/user/css/bootstrap-slider.min.css" /> 
  <script type="text/javascript" src="/Static/config/js/jquery-2.1.4.min.js"></script> 
  <script type="text/javascript" src="/Static/pc/user/js/jquery.pjax.min.js"></script> 
  <script type="text/javascript" src="//cdn.istt.cn/cdn/ver/1.1/web/layer.min.js"></script>
  <script type="text/javascript" src="/Static/pc/user/js/app.min.js"></script> 
  <script type="text/javascript" src="/Static/pc/user/js/bootstrap-slider.min.js"></script> 
  <script src="https://cdn.bootcss.com/vue/2.6.11/vue.js"></script>
  <script src="https://cdn.bootcss.com/vue/2.6.11/vue.min.js"></script>
  <script type="text/javascript" src="/Static/config/js/main.js"></script> 
  <script src="/Static/config/js/login.js"></script>
  <script src="/Static/config/js/getsid.js?v=1.4"></script>
 </head> 
 <body class="bg-bai dl"> 
  <div class="g-main bg-bt2"> 
            {block name='head'}{/block}
            {block name="main"}{/block}
	</div> 
  <div class="g-footer hui"> 
   <div class="g-1400 h d-c t-v t-c"> 
    <div class="hui dk"> 
     <p>{:config("web_webname")}，{:config("web_title")}</p> 
     <p>Copyright &copy; 2020 {:config("web_webname")} {:config('web_domain')}</p> 
    </div> 
   </div> 
  </div> 
  <script type="text/javascript" src="/Static/pc/user/js/bootstrap.min.js"></script> 
  <span class="ajaxshow" id="ajaxshow"></span> 
  <span class="ajaxshow" id="ajaxload"></span> 
  <span class="ajaxshow" id="designationshow"></span> 
  {include file="/pc/common/pagination" /}
  {block name='foot'}{/block}
  
  <script>
if (window.ActiveXObject || "ActiveXObject" in window || window.navigator.userAgent.indexOf("Edge") > -1){
	$(function($) {
		var docEl = $("#pjax-container");
		var height,cheight;
		function refreshRem(){
			cheight = docEl.outerHeight(true)+95-window.innerHeight;
			if(cheight>0){
				var height = 250-cheight;
				if(height<100)height = 100;
				$(".g-footer").css("margin-top","-"+height+"px");
			}else{
				$(".g-footer").css("margin-top","-250px");
			}
		}
		$(window).resize(function(){refreshRem();});
		new MutationObserver(refreshRem).observe(document.getElementById('pjax-container'), {attributes: true,characterData: true,childList: true,subtree: true,});
		refreshRem();
	});
}

function _sys_cleartime() {
        typeof ChatTimeID != "undefined" && clearTimeout(ChatTimeID);
    }

$(document).on('pjax:send', function () {
	ws.close();
	_sys_cleartime();
});
function mode_shop_rmb(){x.url('{:url('pc/index',['act'=>'shop','s'=>'rmb'])}');}
function mode_shop_vip(){x.url('{:url('pc/index',['act'=>'shop','s'=>'vip'])}');}
function mode_shop_peie(){x.url('{:url('pc/index',['act'=>'shop','s'=>'peie'])}');}

function mode_qq_mzrz(qq){x.mode('{:url('pc_html/other',['act'=>'mzrz'])}?qq='+qq,'',500);}
function mode_qq_add(stem,qid){x.mode('{:url('pc/index',['act'=>'user','s'=>'addqq'])}?stem='+stem+'&qid='+qid||"");}
function ajax_qq_del(stem,qid){x.del('{:url('pc_ajax/qq',['act'=>'del'])}','stem='+stem+'&qid='+qid);}
</script>  
{if condition="config('sys_is_music_player') eq 1"}
{if condition="config('sys_player_style') eq 0"}
<div id="music" key="{:config('sys_player_key')}" api="https://duww.top"></div><script id="xplayer" src="https://duww.top/Static/player2/js/player.js" ></script>
{/if}
{if condition="config('sys_player_style') eq 1"}
<script id="xplayer" src="https://duww.top/Static/player/player.js" key="{:config('sys_player_key')}" m="1"></script>
{/if}
{/if}
 </body>
</html>
{/if}
